package com.ruoyi.system.domain;

import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel(value = "SySelfServiceBookingOrderLog", description = "预定-自助预定-操作记录")
@TableName("sy_self_service_booking_order_log")
@Data
public class SySelfServiceBookingOrderLog extends AbdulBaseEntity {

    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long id;


    @ApiModelProperty(value = "预定单号")
    private String bookingNumber;

    @ApiModelProperty(value = "会员信息")
    private String vipMessage;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "桌台")
    private String desk;

    @ApiModelProperty(value = "操作类型（1-订单转台,2-删除订单,3-订单转赠,4-取消订单,5-修改预订时间） SySelfServiceBookingOrderLogEnum")
    private Integer type;

    @ApiModelProperty(value = "桌台分类")
    private String tableClassification;

    @ApiModelProperty(value = "门店id")
    private Long storeId;


    //DTO
    @TableField(exist = false)
    @ApiModelProperty(value = "操作类型描述")
    private String typeDesc;

}
